package com.goldenKey.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.goldenKey.user.pojo.vo.AccountVo;
import com.goldenKey.common.pojo.po.User;
import com.goldenKey.user.pojo.query.LoginQuery;
import com.goldenKey.user.pojo.query.RegisterQuery;
import javax.servlet.http.HttpServletRequest;


/**
 * @Author: 吃我一钊
 * @Description: 业务逻辑抽象层
 * @Date: 2025/02/02
 */
public interface IAccountService extends IService<User> {

    AccountVo login(LoginQuery loginQuery, HttpServletRequest request);


    void register(RegisterQuery registerQuery);

    Boolean checkIsExist(String field, String value);
}